Optimal. Leaf size=76 \[ \frac {\tan (e+f x) (c-c \sec (e+f x))}{15 a f (a \sec (e+f x)+a)^2}+\frac {\tan (e+f x) (c-c \sec (e+f x))}{5 f (a \sec (e+f x)+a)^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 76, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {3951, 3950} \[ \frac {\tan (e+f x) (c-c \sec (e+f x))}{15 a f (a \sec (e+f x)+a)^2}+\frac {\tan (e+f x) (c-c \sec (e+f x))}{5 f (a \sec (e+f x)+a)^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3950
Rule 3951
Rubi steps
\begin {align*} \int \frac {\sec (e+f x) (c-c \sec (e+f x))}{(a+a \sec (e+f x))^3} \, dx &=\frac {(c-c \sec (e+f x)) \tan (e+f x)}{5 f (a+a \sec (e+f x))^3}+\frac {\int \frac {\sec (e+f x) (c-c \sec (e+f x))}{(a+a \sec (e+f x))^2} \, dx}{5 a}\\ &=\frac {(c-c \sec (e+f x)) \tan (e+f x)}{5 f (a+a \sec (e+f x))^3}+\frac {(c-c \sec (e+f x)) \tan (e+f x)}{15 a f (a+a \sec (e+f x))^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.35, size = 87, normalized size = 1.14 \[ \frac {c \sec \left (\frac {e}{2}\right ) \left (-15 \sin \left (e+\frac {f x}{2}\right )+5 \sin \left (e+\frac {3 f x}{2}\right )-15 \sin \left (2 e+\frac {3 f x}{2}\right )+4 \sin \left (2 e+\frac {5 f x}{2}\right )+25 \sin \left (\frac {f x}{2}\right )\right ) \sec ^5\left (\frac {1}{2} (e+f x)\right )}{240 a^3 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 79, normalized size = 1.04 \[ \frac {{\left (4 \, c \cos \left (f x + e\right )^{2} - 3 \, c \cos \left (f x + e\right ) - c\right )} \sin \left (f x + e\right )}{15 \, {\left (a^{3} f \cos \left (f x + e\right )^{3} + 3 \, a^{3} f \cos \left (f x + e\right )^{2} + 3 \, a^{3} f \cos \left (f x + e\right ) + a^{3} f\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.40, size = 39, normalized size = 0.51 \[ \frac {3 \, c \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{5} - 5 \, c \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3}}{30 \, a^{3} f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.80, size = 37, normalized size = 0.49 \[ \frac {c \left (\frac {\left (\tan ^{5}\left (\frac {e}{2}+\frac {f x}{2}\right )\right )}{5}-\frac {\left (\tan ^{3}\left (\frac {e}{2}+\frac {f x}{2}\right )\right )}{3}\right )}{2 f \,a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 115, normalized size = 1.51 \[ \frac {\frac {c {\left (\frac {15 \, \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - \frac {10 \, \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}} + \frac {3 \, \sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}}\right )}}{a^{3}} - \frac {3 \, c {\left (\frac {5 \, \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - \frac {\sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}}\right )}}{a^{3}}}{60 \, f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.58, size = 35, normalized size = 0.46 \[ \frac {c\,{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^3\,\left (3\,{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^2-5\right )}{30\,a^3\,f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ - \frac {c \left (\int \left (- \frac {\sec {\left (e + f x \right )}}{\sec ^{3}{\left (e + f x \right )} + 3 \sec ^{2}{\left (e + f x \right )} + 3 \sec {\left (e + f x \right )} + 1}\right )\, dx + \int \frac {\sec ^{2}{\left (e + f x \right )}}{\sec ^{3}{\left (e + f x \right )} + 3 \sec ^{2}{\left (e + f x \right )} + 3 \sec {\left (e + f x \right )} + 1}\, dx\right )}{a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________